package com.ctshk.rpc.airexpress.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(value = "AirportExpressUpdateReq对象", description = "机场快线Req")
public class AirportExpressUpdateReq implements Serializable {

    private static final long serialVersionUID = 1L;
    @NotNull(message = "机场快线ID不能为空")
    @ApiModelProperty("机场快线ID")
    private Long id;
    @NotNull(message = "手续费不能为空")
    @ApiModelProperty("手续费")
    private BigDecimal serviceCharge;
    @NotNull(message = "手续费类型不能为空(1数值加幅，2百分比加幅)")
    @ApiModelProperty("手续费类型：1数值加幅，2百分比加幅")
    private Integer serviceChargeType;
    @NotNull(message = "成人成本价格不能为空")
    @ApiModelProperty("成人成本价格")
    private BigDecimal adultPrice;
    @ApiModelProperty("小童成本价格")
    private BigDecimal childrenPrice;

    @NotNull(message = "负责人ID不能为空")
    @ApiModelProperty("负责人ID")
    private Long chargePersonId;
}
